public class ZlistMain {
    public static void main(String[] args) {
        ZListImpl zList = new ZListImpl(10);
        zList.add(new ZElement(1,"1"));
        zList.add(new ZElement(2,"2"));
        zList.add(new ZElement(2,"2"));
        zList.add(new ZElement(2,"2"));
        zList.add(new ZElement(2,"2"));
        zList.add(new ZElement(2,"2"));
        zList.add(new ZElement(2,"2"));
        zList.add(new ZElement(2,"2"));
        // zList.delete(0);
        System.out.println(zList.length());
        System.out.println("2:----"+ zList.getId(new ZElement(1,"2")));
        System.out.println("3:----"+ zList.getId(new ZElement(1,"3")));
    }
}
